package com.xu.sms.utils;

public class HtmlUtil {
	
	
	public static String setSelectKeywordColor(String content,String keyword,String color){
		String color_pre = "<font color=\""+color+"\">";
		String color_back = "</font>";
		String temp = color_pre+keyword+color_back;
		String result = content.replaceAll(keyword, temp);
		return result;
	}
	
	

}
